home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / Developer Essentials Jul 90 / DTS Sample Code / Macintosh Sample Code / Monthly Releases (Compressed) / MacDTS.Sample.Code.89.06.sit / SC.018.StdFile / SCN.018.StdFile < prev    next >
MacBinary  |  1989-04-23  |  2.8 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Apr 23 08:09:46 1989, modified Sun Apr 23 08:09:46 1989, creator 'MPS ', type ASCII, 2226 bytes "SCN.018.StdFile" , at 0x932 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 53 43 4e 2e 30 31 | 38 2e 53 74 64 46 69 6c |..SCN.01|8.StdFil|
|00000010| 65 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |e.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 08 b2 00 | 00 01 7e a0 77 6d 8a a0 |........|..~.wm..|
|00000060| 77 6d 8a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |wm......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b9 15 00 00 |........|........|
|00000080| 4d 61 63 69 6e 74 6f 73 | 68 0d 53 61 6d 70 6c 65 |Macintos|h.Sample|
|00000090| 20 43 6f 64 65 20 4e 6f | 74 65 73 0d 5f 5f 5f 5f | Code No|tes.____|
|000000a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000d0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000e0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 0d 20 20 20 20 20 20 |________|_. |
|000000f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000110| 20 20 20 20 20 20 20 20 | 20 20 20 20 44 65 76 65 | | Deve|
|00000120| 6c 6f 70 65 72 20 54 65 | 63 68 6e 69 63 61 6c 20 |loper Te|chnical |
|00000130| 53 75 70 70 6f 72 74 0d | 23 31 38 3a 09 53 74 64 |Support.|#18:.Std|
|00000140| 46 69 6c 65 0d 0d 57 72 | 69 74 74 65 6e 20 62 79 |File..Wr|itten by|
|00000150| 3a 09 4b 65 69 74 68 20 | 52 6f 6c 6c 69 6e 0d 0d |:.Keith |Rollin..|
|00000160| 56 65 72 73 69 6f 6e 73 | 3a 09 09 09 31 2e 30 30 |Versions|:...1.00|
|00000170| 09 09 09 09 09 09 41 70 | 72 69 6c 20 31 39 38 39 |......Ap|ril 1989|
|00000180| 0d 0d 43 6f 6d 70 6f 6e | 65 6e 74 73 3a 09 09 09 |..Compon|ents:...|
|00000190| 53 74 64 46 69 6c 65 2e | 63 09 09 09 09 09 41 70 |StdFile.|c.....Ap|
|000001a0| 72 69 6c 20 31 2c 20 31 | 39 38 39 0d 09 09 09 09 |ril 1, 1|989.....|
|000001b0| 09 53 74 64 46 69 6c 65 | 2e 70 09 09 09 09 09 41 |.StdFile|.p.....A|
|000001c0| 70 72 69 6c 20 31 2c 20 | 31 39 38 39 0d 09 09 09 |pril 1, |1989....|
|000001d0| 09 09 53 74 64 46 69 6c | 65 2e 68 09 09 09 09 09 |..StdFil|e.h.....|
|000001e0| 41 70 72 69 6c 20 31 2c | 20 31 39 38 39 0d 09 09 |April 1,| 1989...|
|000001f0| 09 09 09 53 74 64 46 69 | 6c 65 2e 72 09 09 09 09 |...StdFi|le.r....|
|00000200| 09 41 70 72 69 6c 20 31 | 2c 20 31 39 38 39 0d 09 |.April 1|, 1989..|
|00000210| 09 09 09 09 53 74 64 46 | 69 6c 65 2e 72 73 72 63 |....StdF|ile.rsrc|
|00000220| 09 09 09 09 41 70 72 69 | 6c 20 31 2c 20 31 39 38 |....Apri|l 1, 198|
|00000230| 39 0d 09 09 09 09 09 43 | 53 74 64 46 69 6c 65 2e |9......C|StdFile.|
|00000240| 6d 61 6b 65 09 09 09 09 | 41 70 72 69 6c 20 31 2c |make....|April 1,|
|00000250| 20 31 39 38 39 0d 09 09 | 09 09 09 50 53 74 64 46 | 1989...|...PStdF|
|00000260| 69 6c 65 2e 6d 61 6b 65 | 09 09 09 09 41 70 72 69 |ile.make|....Apri|
|00000270| 6c 20 31 2c 20 31 39 38 | 39 0d 5f 5f 5f 5f 5f 5f |l 1, 198|9.______|
|00000280| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000290| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000002a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000002b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000002c0| 5f 5f 5f 5f 5f 5f 5f 0d | 0d 53 74 64 46 69 6c 65 |_______.|.StdFile|
|000002d0| 20 61 74 74 65 6d 70 74 | 73 20 74 6f 20 64 65 6d | attempt|s to dem|
|000002e0| 6f 6e 73 74 72 61 74 65 | 20 74 68 65 20 66 6f 6c |onstrate| the fol|
|000002f0| 6c 6f 77 69 6e 67 20 74 | 65 63 68 6e 69 71 75 65 |lowing t|echnique|
|00000300| 73 3a 0d 0d a5 09 4e 6f | 72 6d 61 6c 20 75 73 65 |s:....No|rmal use|
|00000310| 20 6f 66 20 53 46 47 65 | 74 46 69 6c 65 20 61 6e | of SFGe|tFile an|
|00000320| 64 20 53 46 50 75 74 46 | 69 6c 65 2e 0d a5 09 4e |d SFPutF|ile....N|
|00000330| 6f 72 6d 61 6c 20 75 73 | 65 20 6f 66 20 53 46 50 |ormal us|e of SFP|
|00000340| 47 65 74 46 69 6c 65 20 | 61 6e 64 20 53 46 50 50 |GetFile |and SFPP|
|00000350| 75 74 46 69 6c 65 2c 20 | 77 68 69 63 68 20 69 6e |utFile, |which in|
|00000360| 63 6c 75 64 65 73 20 74 | 68 65 20 75 73 65 20 6f |cludes t|he use o|
|00000370| 66 20 0d 09 63 75 73 74 | 6f 6d 20 64 69 61 6c 6f |f ..cust|om dialo|
|00000380| 67 73 20 61 6e 64 20 68 | 61 6e 64 6c 69 6e 67 20 |gs and h|andling |
|00000390| 65 78 74 72 61 20 69 74 | 65 6d 73 20 74 68 72 6f |extra it|ems thro|
|000003a0| 75 67 68 20 74 68 65 20 | 69 6d 70 6c 65 6d 65 6e |ugh the |implemen|
|000003b0| 74 61 74 69 6f 6e 20 6f | 66 20 61 20 0d 09 44 6c |tation o|f a ..Dl|
|000003c0| 67 48 6f 6f 6b 2e 0d 09 | a5 09 46 69 72 73 74 20 |gHook...|..First |
|000003d0| 74 69 6d 65 20 69 6e 69 | 74 69 61 6c 69 7a 61 74 |time ini|tializat|
|000003e0| 69 6f 6e 2e 0d 09 a5 09 | 45 78 74 72 61 20 73 69 |ion.....|Extra si|
|000003f0| 6d 70 6c 65 20 62 75 74 | 74 6f 6e 73 20 28 51 75 |mple but|tons (Qu|
|00000400| 69 74 2c 20 44 69 72 65 | 63 74 6f 72 79 2c 20 54 |it, Dire|ctory, T|
|00000410| 68 69 73 44 69 72 29 2e | 0d 09 a5 09 52 61 64 69 |hisDir).|....Radi|
|00000420| 6f 20 62 75 74 74 6f 6e | 73 20 28 66 69 6c 65 20 |o button|s (file |
|00000430| 66 6f 72 6d 61 74 2c 20 | 74 79 70 65 73 20 6f 66 |format, |types of|
|00000440| 20 66 69 6c 65 73 20 74 | 6f 20 73 68 6f 77 29 2e | files t|o show).|
|00000450| 0d 09 a5 09 41 6c 69 61 | 73 69 6e 67 d1 63 6c 69 |....Alia|sing.cli|
|00000460| 63 6b 20 6f 6e 20 73 6f | 6d 65 20 62 75 74 74 6f |ck on so|me butto|
|00000470| 6e 73 20 74 6f 20 63 6c | 69 63 6b 20 6f 6e 20 6f |ns to cl|ick on o|
|00000480| 74 68 65 72 20 62 75 74 | 74 6f 6e 73 2e 0d 09 a5 |ther but|tons....|
|00000490| 09 52 65 67 65 6e 65 72 | 61 74 69 6e 67 20 74 68 |.Regener|ating th|
|000004a0| 65 20 6c 69 73 74 20 6f | 66 20 66 69 6c 65 73 20 |e list o|f files |
|000004b0| 64 69 73 70 6c 61 79 65 | 64 2e 0d a5 09 43 72 65 |displaye|d....Cre|
|000004c0| 61 74 69 6e 67 20 61 20 | 66 75 6c 6c 20 70 61 74 |ating a |full pat|
|000004d0| 68 6e 61 6d 65 20 66 72 | 6f 6d 20 61 20 72 65 70 |hname fr|om a rep|
|000004e0| 6c 79 20 72 65 63 6f 72 | 64 20 28 75 73 69 6e 67 |ly recor|d (using|
|000004f0| 20 77 6f 72 6b 69 6e 67 | 20 64 69 72 65 63 74 6f | working| directo|
|00000500| 72 69 65 73 0d 09 6f 72 | 20 44 69 72 49 44 29 0d |ries..or| DirID).|
|00000510| a5 09 53 65 6c 65 63 74 | 69 6e 67 20 61 20 64 69 |..Select|ing a di|
|00000520| 72 65 63 74 6f 72 79 20 | 28 88 20 6c 61 20 4d 50 |rectory |(. la MP|
|00000530| 57 73 20 d2 47 65 74 46 | 69 6c 65 4e 61 6d 65 20 |Ws .GetF|ileName |
|00000540| 2d 64 d3 29 0d a5 09 53 | 69 6d 70 6c 65 20 66 69 |-d.)...S|imple fi|
|00000550| 6c 65 20 66 69 6c 74 65 | 72 20 28 63 68 65 63 6b |le filte|r (check|
|00000560| 73 20 66 69 6c 65 20 74 | 79 70 65 29 2e 0d a5 09 |s file t|ype)....|
|00000570| 43 6f 6d 70 6c 65 78 20 | 66 69 6c 65 20 66 69 6c |Complex |file fil|
|00000580| 74 65 72 20 28 6c 6f 6f | 6b 69 6e 67 20 69 6e 73 |ter (loo|king ins|
|00000590| 69 64 65 20 74 68 65 20 | 66 69 6c 65 29 2e 0d a5 |ide the |file)...|
|000005a0| 09 41 64 64 69 6e 67 20 | 61 6e 64 20 64 65 6c 65 |.Adding |and dele|
|000005b0| 74 69 6e 67 20 4c 69 73 | 74 20 4d 61 6e 61 67 65 |ting Lis|t Manage|
|000005c0| 72 20 6c 69 73 74 73 20 | 61 6e 64 20 65 78 74 72 |r lists |and extr|
|000005d0| 61 20 4c 69 73 74 20 4d | 61 6e 61 67 65 72 20 6c |a List M|anager l|
|000005e0| 69 73 74 73 2e 0d 09 54 | 68 69 73 20 69 73 20 73 |ists...T|his is s|
|000005f0| 68 6f 77 6e 20 66 6f 72 | 20 62 6f 74 68 20 53 46 |hown for| both SF|
|00000600| 47 65 74 46 69 6c 65 20 | 61 6e 64 20 53 46 50 75 |GetFile |and SFPu|
|00000610| 74 46 69 6c 65 2e 0d a5 | 09 53 65 6c 65 63 74 20 |tFile...|.Select |
|00000620| 6d 75 6c 74 69 70 6c 65 | 20 66 69 6c 65 73 20 75 |multiple| files u|
|00000630| 73 69 6e 67 20 6f 6e 65 | 20 6f 66 20 74 77 6f 20 |sing one| of two |
|00000640| 6d 65 74 68 6f 64 73 2e | 0d 09 a5 09 52 65 70 6c |methods.|....Repl|
|00000650| 61 63 65 20 53 74 64 46 | 69 6c 65 d5 73 20 6c 69 |ace StdF|ile.s li|
|00000660| 73 74 20 77 69 74 68 20 | 6f 6e 65 20 6f 66 20 79 |st with |one of y|
|00000670| 6f 75 72 20 6f 77 6e 2e | 0d 09 a5 09 41 64 64 20 |our own.|....Add |
|00000680| 61 20 73 65 63 6f 6e 64 | 20 6c 69 73 74 20 74 6f |a second| list to|
|00000690| 20 74 68 65 20 64 69 61 | 6c 6f 67 20 62 6f 78 2e | the dia|log box.|
|000006a0| 20 20 54 68 69 73 20 6d | 65 74 68 6f 64 20 69 73 | This m|ethod is|
|000006b0| 20 6e 6f 74 20 73 68 6f | 77 6e 0d 09 09 65 78 70 | not sho|wn...exp|
|000006c0| 6c 69 63 69 74 6c 79 2c | 20 62 75 74 20 72 61 74 |licitly,| but rat|
|000006d0| 68 65 72 2c 20 49 20 73 | 68 6f 77 20 68 6f 77 20 |her, I s|how how |
|000006e0| 74 6f 20 69 6e 73 74 61 | 6c 6c 20 61 6e 64 20 64 |to insta|ll and d|
|000006f0| 69 73 70 6f 73 65 20 6f | 66 20 74 68 65 0d 09 09 |ispose o|f the...|
|00000700| 61 63 74 75 61 6c 20 6c | 69 73 74 20 69 74 65 6d |actual l|ist item|
|00000710| 2e 20 20 49 6e 73 65 72 | 74 69 6e 67 20 66 69 6c |. Inser|ting fil|
|00000720| 65 6e 61 6d 65 73 20 69 | 6e 74 6f 20 74 68 65 20 |enames i|nto the |
|00000730| 6c 69 73 74 20 69 73 20 | 6c 65 66 74 20 61 73 0d |list is |left as.|
|00000740| 09 09 61 6e 20 65 78 65 | 72 63 69 73 65 20 74 6f |..an exe|rcise to|
|00000750| 20 79 6f 75 2c 20 74 68 | 65 20 70 72 6f 67 72 61 | you, th|e progra|
|00000760| 6d 6d 65 72 2e 0d a5 09 | 53 65 74 74 69 6e 67 20 |mmer....|Setting |
|00000770| 74 68 65 20 73 74 61 72 | 74 69 6e 67 20 64 69 72 |the star|ting dir|
|00000780| 65 63 74 6f 72 79 20 6f | 72 20 76 6f 6c 75 6d 65 |ectory o|r volume|
|00000790| 2e 0d a5 09 44 65 73 63 | 72 69 62 65 20 70 65 6e |....Desc|ribe pen|
|000007a0| 64 69 6e 67 20 75 70 64 | 61 74 65 20 65 76 65 6e |ding upd|ate even|
|000007b0| 74 20 63 6c 6f 67 67 69 | 6e 67 2e 0d 0d 4e 6f 74 |t cloggi|ng...Not|
|000007c0| 65 3a 09 54 68 69 73 20 | 61 70 70 6c 69 63 61 74 |e:.This |applicat|
|000007d0| 69 6f 6e 20 61 73 73 75 | 6d 65 73 20 74 68 65 20 |ion assu|mes the |
|000007e0| 65 78 69 73 74 65 6e 63 | 65 20 6f 66 20 48 46 53 |existenc|e of HFS|
|000007f0| 2e 20 20 49 74 20 6d 61 | 6b 65 73 20 48 46 53 20 |. It ma|kes HFS |
|00000800| 63 61 6c 6c 73 0d 09 09 | 61 6e 64 20 61 63 63 65 |calls...|and acce|
|00000810| 73 73 65 73 20 48 46 53 | 20 64 61 74 61 20 73 74 |sses HFS| data st|
|00000820| 72 75 63 74 75 72 65 73 | 20 77 69 74 68 6f 75 74 |ructures| without|
|00000830| 20 66 69 72 73 74 20 63 | 68 65 63 6b 69 6e 67 20 | first c|hecking |
|00000840| 74 6f 20 73 65 65 20 69 | 66 0d 09 09 48 46 53 20 |to see i|f...HFS |
|00000850| 65 78 69 73 74 73 20 6f | 6e 20 74 68 69 73 20 6d |exists o|n this m|
|00000860| 61 63 68 69 6e 65 2e 0d | 09 09 49 6e 20 73 6f 6d |achine..|..In som|
|00000870| 65 20 63 61 73 65 73 2c | 20 79 6f 75 20 77 69 6c |e cases,| you wil|
|00000880| 6c 20 73 65 65 20 6d 65 | 20 6d 61 6b 65 20 75 73 |l see me| make us|
|00000890| 65 20 6f 66 20 61 20 70 | 65 63 75 6c 69 61 72 20 |e of a p|eculiar |
|000008a0| 50 61 73 63 61 6c 20 73 | 79 6e 74 61 78 3a 0d 09 |Pascal s|yntax:..|
|000008b0| 09 49 46 20 3c 65 78 70 | 72 3e 20 54 48 45 4e 3b |.IF <exp|r> THEN;|
|000008c0| 2e 20 20 54 68 69 73 20 | 69 73 20 69 6e 74 65 6e |. This |is inten|
|000008d0| 74 69 6f 6e 61 6c 2c 20 | 61 73 20 69 74 20 67 65 |tional, |as it ge|
|000008e0| 74 73 20 74 68 65 20 50 | 61 73 63 61 6c 20 63 6f |ts the P|ascal co|
|000008f0| 6d 70 69 6c 65 72 0d 09 | 09 74 6f 20 64 69 73 63 |mpiler..|.to disc|
|00000900| 61 72 64 20 66 75 6e 63 | 74 69 6f 6e 20 72 65 73 |ard func|tion res|
|00000910| 75 6c 74 73 20 69 6e 20 | 77 68 69 63 68 20 49 20 |ults in |which I |
|00000920| 68 61 76 65 20 6e 6f 20 | 69 6e 74 65 72 65 73 74 |have no |interest|
|00000930| 2e 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000990| 00 00 01 3b 04 51 75 69 | 74 3b 02 00 00 00 54 45 |...;.Qui|t;....TE|
|000009a0| 58 54 4d 50 53 20 01 00 | 02 d6 00 bd 00 00 00 00 |XTMPS ..|........|
|000009b0| 0f 53 43 4e 2e 30 31 38 | 2e 53 74 64 46 69 6c 65 |.SCN.018|.StdFile|
|000009c0| 02 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 a0 a1 89 0a 00 00 | 00 00 00 00 01 7e 00 00 |........|.....~..|
|00000a00| 0c 00 00 00 01 3b 06 52 | 65 73 75 6d 65 52 02 00 |.....;.R|esumeR..|
|00000a10| 00 00 54 45 58 54 4d 50 | 53 20 01 00 02 d6 00 5d |..TEXTMP|S .....]|
|00000a20| 00 00 00 00 27 23 00 00 | 00 00 01 32 00 00 02 00 |....'#..|...2....|
|00000a30| 00 00 00 00 01 7e 00 00 | 02 00 9b 83 8a cb 9b 83 |.....~..|........|
|00000a40| af a8 00 00 00 00 47 57 | 84 ea 00 00 ff 38 00 00 |......GW|.....8..|
|00000a50| 00 00 00 00 0d 48 00 00 | 08 a0 00 01 00 00 00 00 |.....H..|........|
|00000a60| 00 00 00 00 08 9f 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 0a 00 00 00 | 01 3b 04 52 73 72 63 3b |........|.;.Rsrc;|
|00000a80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 5f 5f 5f |...H..Mo|naco.___|
|00000a90| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000aa0| 5f 5f 5f 5f 5f 5f 00 06 | 00 04 00 2a 00 03 01 dd |______..|...*....|
|00000ab0| 02 7d 01 90 00 00 01 dd | 02 3d a0 77 35 4a 00 00 |.}......|.=.w5J..|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00000ad0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 20 b0 dc |...L...L|...2. ..|
|00000ae0| 0e 54 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.T.....2|..MPSR..|
|00000af0| 00 0a 03 ed ff ff 00 00 | 00 00 00 21 eb 90 00 00 |........|...!....|
+--------+-------------------------+-------------------------+--------+--------+